#!/bin/bash

g_Sh_cc=aarch64-linux-gnu-gcc

./config no-asm shared CC=$g_Sh_cc --prefix=$(pwd)/_install openssldir=$(pwd)/_install/ssl
make -j32
make install
make distclean

cd $(pwd)/_install/lib
ln -sf libcrypto.so.1.1 libcrypto.so
ln -sf libssl.so.1.1 libssl.so

